package Main;

public class Booking 
{
	public String FirstName, LastName;
	public TheaterEvent Event;
	public int SeatNumber;
	public Booking(TheaterEvent e, String first, String last, int seat/*, String event, String date, String time, int hallId*/)
	{
		Event=e;
		FirstName=new String(first);
		LastName=new String(last);
		SeatNumber=seat;
	}
	public String toString()
	{
		String str="";
		str+=Event;
		str+="Seat: "+SeatNumber+" "+FirstName+" "+LastName+"\n";
		return str;
	}
}
